<?php

namespace Home\Controller;

class TextareaController extends BaseMallController
{

    function _initialize()
    {
//        parent::_initialize();
//        $this->_user_id = session('visitor.user_id');
    }

    function resign(){
        $res = M('textarea')->find();
        $this->assign('res',$res);
        $this->display();
    }

    function our(){
        $res = M('textarea')->find();
        $this->assign('res',$res);
        $this->display();
    }
    function customs(){
        $res = M('textarea')->find();
        $this->assign('res',$res);
        $this->display();
    }

    function price(){
        $res = M('textarea')->find();
        $res['price'] = nl2br($res['price']);
        $this->assign('res',$res);
        $this->display();
    }

    function know(){
        $res = M('textarea')->find();
        $res['know'] = nl2br($res['know']);
        $this->assign('res',$res);
        $this->display();
    }

}
